#!/usr/bin/python
# vim:ts=4:sw=4:softtabstop=0:smarttab


# User to run handler as.
USERNAME = "lighttpd"

ADMINS = (
    ('Keith Dart', 'keith@dartworks.biz'),
)

# Language code for this installation. All choices can be found here:
# http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
LANGUAGE_CODE = 'en-us'


# Make this unique, and don't share it with anybody.
SECRET_KEY = 'pyNMSchartserver=1s-xk@(b9%#39463flewrt*&(w23526^+'

MIDDLEWARE_CLASSES = ()

# Map pattern to handler functions. 
LOCATIONMAP = (
  (r"^/$", "nmsapps.chartserver.views.main"),
    # aliases don't have a dot in the name.
  (r'/media/css/(?P<name>\S+)', "css"),
  (r'/media/js/(?P<name>\S+)', "js"),
  (r'/media/images/(?P<name>\S+)', "images"),
)

DEFAULTNAV = (
  ("nmsapps.chartserver.views.main", "Main"), 
)


ICONMAP = {
# simplename     active         inactive (base state)
#"xxx": ("icon_xxx_active.png", "icon_xxx_inactive.png"),
  "default": (None, "icon_default_inactive.png"),
  "edit": ("icon_edit_active.png", "icon_edit_inactive.png"),
  "delete": ("icon_delete_active.png", "icon_delete_inactive.png"),
  "activate": ("icon_activate_active.png", "icon_activate_inactive.png"),
  "isactive": ("icon_isactive_active.png", "icon_isactive_inactive.png"),
  "isinactive": ("icon_isinactive_active.png", "icon_isinactive_inactive.png"),
  "unknown": ("icon_unknown_active.png", "icon_unknown_inactive.png"),
  "plus": ("icon_plus_active.png", "icon_plus_inactive.png"),
  "minus": ("icon_minus_active.png", "icon_minus_inactive.png"),
  "alert": (None, "icon_alert_inactive.png"),
}

